package com.warm.pump.module.skd.bean.po.gen;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ScheduleInstanceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitOffset = -1;

    public ScheduleInstanceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitOffset(int limitOffset) {
        this.limitOffset=limitOffset;
    }

    public int getLimitOffset() {
        return limitOffset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }



        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "Id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "Id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "Id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "Id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "Id");
            return (Criteria) this;
        }
        public Criteria andInstanceIdIsNull() {
            addCriterion("instance_id is null");
            return (Criteria) this;
        }

        public Criteria andInstanceIdIsNotNull() {
            addCriterion("instance_id is not null");
            return (Criteria) this;
        }

        public Criteria andInstanceIdEqualTo(String value) {
            addCriterion("instance_id =", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdNotEqualTo(String value) {
            addCriterion("instance_id <>", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdGreaterThan(String value) {
            addCriterion("instance_id >", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdGreaterThanOrEqualTo(String value) {
            addCriterion("instance_id >=", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdLessThan(String value) {
            addCriterion("instance_id <", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdLessThanOrEqualTo(String value) {
            addCriterion("instance_id <=", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdLike(String value) {
            addCriterion("instance_id like", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdNotLike(String value) {
            addCriterion("instance_id not like", value, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdIn(List<String> values) {
            addCriterion("instance_id in", values, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdNotIn(List<String> values) {
            addCriterion("instance_id not in", values, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdBetween(String value1, String value2) {
            addCriterion("instance_id between", value1, value2, "InstanceId");
            return (Criteria) this;
        }

        public Criteria andInstanceIdNotBetween(String value1, String value2) {
            addCriterion("instance_id not between", value1, value2, "InstanceId");
            return (Criteria) this;
        }
        public Criteria andReferTypeIsNull() {
            addCriterion("refer_type is null");
            return (Criteria) this;
        }

        public Criteria andReferTypeIsNotNull() {
            addCriterion("refer_type is not null");
            return (Criteria) this;
        }

        public Criteria andReferTypeEqualTo(String value) {
            addCriterion("refer_type =", value, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeNotEqualTo(String value) {
            addCriterion("refer_type <>", value, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeGreaterThan(String value) {
            addCriterion("refer_type >", value, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeGreaterThanOrEqualTo(String value) {
            addCriterion("refer_type >=", value, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeLessThan(String value) {
            addCriterion("refer_type <", value, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeLessThanOrEqualTo(String value) {
            addCriterion("refer_type <=", value, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeLike(String value) {
            addCriterion("refer_type like", value, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeNotLike(String value) {
            addCriterion("refer_type not like", value, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeIn(List<String> values) {
            addCriterion("refer_type in", values, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeNotIn(List<String> values) {
            addCriterion("refer_type not in", values, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeBetween(String value1, String value2) {
            addCriterion("refer_type between", value1, value2, "ReferType");
            return (Criteria) this;
        }

        public Criteria andReferTypeNotBetween(String value1, String value2) {
            addCriterion("refer_type not between", value1, value2, "ReferType");
            return (Criteria) this;
        }
        public Criteria andReferIdIsNull() {
            addCriterion("refer_id is null");
            return (Criteria) this;
        }

        public Criteria andReferIdIsNotNull() {
            addCriterion("refer_id is not null");
            return (Criteria) this;
        }

        public Criteria andReferIdEqualTo(Long value) {
            addCriterion("refer_id =", value, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdNotEqualTo(Long value) {
            addCriterion("refer_id <>", value, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdGreaterThan(Long value) {
            addCriterion("refer_id >", value, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdGreaterThanOrEqualTo(Long value) {
            addCriterion("refer_id >=", value, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdLessThan(Long value) {
            addCriterion("refer_id <", value, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdLessThanOrEqualTo(Long value) {
            addCriterion("refer_id <=", value, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdIn(List<Long> values) {
            addCriterion("refer_id in", values, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdNotIn(List<Long> values) {
            addCriterion("refer_id not in", values, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdBetween(Long value1, Long value2) {
            addCriterion("refer_id between", value1, value2, "ReferId");
            return (Criteria) this;
        }

        public Criteria andReferIdNotBetween(Long value1, Long value2) {
            addCriterion("refer_id not between", value1, value2, "ReferId");
            return (Criteria) this;
        }
        public Criteria andReferNameIsNull() {
            addCriterion("refer_name is null");
            return (Criteria) this;
        }

        public Criteria andReferNameIsNotNull() {
            addCriterion("refer_name is not null");
            return (Criteria) this;
        }

        public Criteria andReferNameEqualTo(String value) {
            addCriterion("refer_name =", value, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameNotEqualTo(String value) {
            addCriterion("refer_name <>", value, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameGreaterThan(String value) {
            addCriterion("refer_name >", value, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameGreaterThanOrEqualTo(String value) {
            addCriterion("refer_name >=", value, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameLessThan(String value) {
            addCriterion("refer_name <", value, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameLessThanOrEqualTo(String value) {
            addCriterion("refer_name <=", value, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameLike(String value) {
            addCriterion("refer_name like", value, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameNotLike(String value) {
            addCriterion("refer_name not like", value, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameIn(List<String> values) {
            addCriterion("refer_name in", values, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameNotIn(List<String> values) {
            addCriterion("refer_name not in", values, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameBetween(String value1, String value2) {
            addCriterion("refer_name between", value1, value2, "ReferName");
            return (Criteria) this;
        }

        public Criteria andReferNameNotBetween(String value1, String value2) {
            addCriterion("refer_name not between", value1, value2, "ReferName");
            return (Criteria) this;
        }
        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "Status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "Status");
            return (Criteria) this;
        }
        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "Remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "Remark");
            return (Criteria) this;
        }
        public Criteria andErrorIsNull() {
            addCriterion("error is null");
            return (Criteria) this;
        }

        public Criteria andErrorIsNotNull() {
            addCriterion("error is not null");
            return (Criteria) this;
        }

        public Criteria andErrorEqualTo(String value) {
            addCriterion("error =", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorNotEqualTo(String value) {
            addCriterion("error <>", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorGreaterThan(String value) {
            addCriterion("error >", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorGreaterThanOrEqualTo(String value) {
            addCriterion("error >=", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorLessThan(String value) {
            addCriterion("error <", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorLessThanOrEqualTo(String value) {
            addCriterion("error <=", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorLike(String value) {
            addCriterion("error like", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorNotLike(String value) {
            addCriterion("error not like", value, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorIn(List<String> values) {
            addCriterion("error in", values, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorNotIn(List<String> values) {
            addCriterion("error not in", values, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorBetween(String value1, String value2) {
            addCriterion("error between", value1, value2, "Error");
            return (Criteria) this;
        }

        public Criteria andErrorNotBetween(String value1, String value2) {
            addCriterion("error not between", value1, value2, "Error");
            return (Criteria) this;
        }
        public Criteria andTotalNumIsNull() {
            addCriterion("total_num is null");
            return (Criteria) this;
        }

        public Criteria andTotalNumIsNotNull() {
            addCriterion("total_num is not null");
            return (Criteria) this;
        }

        public Criteria andTotalNumEqualTo(Integer value) {
            addCriterion("total_num =", value, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotEqualTo(Integer value) {
            addCriterion("total_num <>", value, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumGreaterThan(Integer value) {
            addCriterion("total_num >", value, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_num >=", value, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumLessThan(Integer value) {
            addCriterion("total_num <", value, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumLessThanOrEqualTo(Integer value) {
            addCriterion("total_num <=", value, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumIn(List<Integer> values) {
            addCriterion("total_num in", values, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotIn(List<Integer> values) {
            addCriterion("total_num not in", values, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumBetween(Integer value1, Integer value2) {
            addCriterion("total_num between", value1, value2, "TotalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotBetween(Integer value1, Integer value2) {
            addCriterion("total_num not between", value1, value2, "TotalNum");
            return (Criteria) this;
        }
        public Criteria andCompletedNumIsNull() {
            addCriterion("completed_num is null");
            return (Criteria) this;
        }

        public Criteria andCompletedNumIsNotNull() {
            addCriterion("completed_num is not null");
            return (Criteria) this;
        }

        public Criteria andCompletedNumEqualTo(Integer value) {
            addCriterion("completed_num =", value, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumNotEqualTo(Integer value) {
            addCriterion("completed_num <>", value, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumGreaterThan(Integer value) {
            addCriterion("completed_num >", value, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("completed_num >=", value, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumLessThan(Integer value) {
            addCriterion("completed_num <", value, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumLessThanOrEqualTo(Integer value) {
            addCriterion("completed_num <=", value, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumIn(List<Integer> values) {
            addCriterion("completed_num in", values, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumNotIn(List<Integer> values) {
            addCriterion("completed_num not in", values, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumBetween(Integer value1, Integer value2) {
            addCriterion("completed_num between", value1, value2, "CompletedNum");
            return (Criteria) this;
        }

        public Criteria andCompletedNumNotBetween(Integer value1, Integer value2) {
            addCriterion("completed_num not between", value1, value2, "CompletedNum");
            return (Criteria) this;
        }
        public Criteria andWaitNumIsNull() {
            addCriterion("wait_num is null");
            return (Criteria) this;
        }

        public Criteria andWaitNumIsNotNull() {
            addCriterion("wait_num is not null");
            return (Criteria) this;
        }

        public Criteria andWaitNumEqualTo(Integer value) {
            addCriterion("wait_num =", value, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumNotEqualTo(Integer value) {
            addCriterion("wait_num <>", value, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumGreaterThan(Integer value) {
            addCriterion("wait_num >", value, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("wait_num >=", value, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumLessThan(Integer value) {
            addCriterion("wait_num <", value, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumLessThanOrEqualTo(Integer value) {
            addCriterion("wait_num <=", value, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumIn(List<Integer> values) {
            addCriterion("wait_num in", values, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumNotIn(List<Integer> values) {
            addCriterion("wait_num not in", values, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumBetween(Integer value1, Integer value2) {
            addCriterion("wait_num between", value1, value2, "WaitNum");
            return (Criteria) this;
        }

        public Criteria andWaitNumNotBetween(Integer value1, Integer value2) {
            addCriterion("wait_num not between", value1, value2, "WaitNum");
            return (Criteria) this;
        }
        public Criteria andDealTaskNumIsNull() {
            addCriterion("deal_task_num is null");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumIsNotNull() {
            addCriterion("deal_task_num is not null");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumEqualTo(Integer value) {
            addCriterion("deal_task_num =", value, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumNotEqualTo(Integer value) {
            addCriterion("deal_task_num <>", value, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumGreaterThan(Integer value) {
            addCriterion("deal_task_num >", value, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("deal_task_num >=", value, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumLessThan(Integer value) {
            addCriterion("deal_task_num <", value, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumLessThanOrEqualTo(Integer value) {
            addCriterion("deal_task_num <=", value, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumIn(List<Integer> values) {
            addCriterion("deal_task_num in", values, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumNotIn(List<Integer> values) {
            addCriterion("deal_task_num not in", values, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumBetween(Integer value1, Integer value2) {
            addCriterion("deal_task_num between", value1, value2, "DealTaskNum");
            return (Criteria) this;
        }

        public Criteria andDealTaskNumNotBetween(Integer value1, Integer value2) {
            addCriterion("deal_task_num not between", value1, value2, "DealTaskNum");
            return (Criteria) this;
        }
        public Criteria andMisfireInformIdsIsNull() {
            addCriterion("misfire_inform_ids is null");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsIsNotNull() {
            addCriterion("misfire_inform_ids is not null");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsEqualTo(String value) {
            addCriterion("misfire_inform_ids =", value, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsNotEqualTo(String value) {
            addCriterion("misfire_inform_ids <>", value, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsGreaterThan(String value) {
            addCriterion("misfire_inform_ids >", value, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsGreaterThanOrEqualTo(String value) {
            addCriterion("misfire_inform_ids >=", value, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsLessThan(String value) {
            addCriterion("misfire_inform_ids <", value, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsLessThanOrEqualTo(String value) {
            addCriterion("misfire_inform_ids <=", value, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsLike(String value) {
            addCriterion("misfire_inform_ids like", value, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsNotLike(String value) {
            addCriterion("misfire_inform_ids not like", value, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsIn(List<String> values) {
            addCriterion("misfire_inform_ids in", values, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsNotIn(List<String> values) {
            addCriterion("misfire_inform_ids not in", values, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsBetween(String value1, String value2) {
            addCriterion("misfire_inform_ids between", value1, value2, "MisfireInformIds");
            return (Criteria) this;
        }

        public Criteria andMisfireInformIdsNotBetween(String value1, String value2) {
            addCriterion("misfire_inform_ids not between", value1, value2, "MisfireInformIds");
            return (Criteria) this;
        }
        public Criteria andIsSingleIsNull() {
            addCriterion("is_single is null");
            return (Criteria) this;
        }

        public Criteria andIsSingleIsNotNull() {
            addCriterion("is_single is not null");
            return (Criteria) this;
        }

        public Criteria andIsSingleEqualTo(Integer value) {
            addCriterion("is_single =", value, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleNotEqualTo(Integer value) {
            addCriterion("is_single <>", value, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleGreaterThan(Integer value) {
            addCriterion("is_single >", value, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_single >=", value, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleLessThan(Integer value) {
            addCriterion("is_single <", value, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleLessThanOrEqualTo(Integer value) {
            addCriterion("is_single <=", value, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleIn(List<Integer> values) {
            addCriterion("is_single in", values, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleNotIn(List<Integer> values) {
            addCriterion("is_single not in", values, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleBetween(Integer value1, Integer value2) {
            addCriterion("is_single between", value1, value2, "IsSingle");
            return (Criteria) this;
        }

        public Criteria andIsSingleNotBetween(Integer value1, Integer value2) {
            addCriterion("is_single not between", value1, value2, "IsSingle");
            return (Criteria) this;
        }
        public Criteria andCreateIpIsNull() {
            addCriterion("create_ip is null");
            return (Criteria) this;
        }

        public Criteria andCreateIpIsNotNull() {
            addCriterion("create_ip is not null");
            return (Criteria) this;
        }

        public Criteria andCreateIpEqualTo(String value) {
            addCriterion("create_ip =", value, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpNotEqualTo(String value) {
            addCriterion("create_ip <>", value, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpGreaterThan(String value) {
            addCriterion("create_ip >", value, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpGreaterThanOrEqualTo(String value) {
            addCriterion("create_ip >=", value, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpLessThan(String value) {
            addCriterion("create_ip <", value, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpLessThanOrEqualTo(String value) {
            addCriterion("create_ip <=", value, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpLike(String value) {
            addCriterion("create_ip like", value, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpNotLike(String value) {
            addCriterion("create_ip not like", value, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpIn(List<String> values) {
            addCriterion("create_ip in", values, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpNotIn(List<String> values) {
            addCriterion("create_ip not in", values, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpBetween(String value1, String value2) {
            addCriterion("create_ip between", value1, value2, "CreateIp");
            return (Criteria) this;
        }

        public Criteria andCreateIpNotBetween(String value1, String value2) {
            addCriterion("create_ip not between", value1, value2, "CreateIp");
            return (Criteria) this;
        }
        public Criteria andExecIpIsNull() {
            addCriterion("exec_ip is null");
            return (Criteria) this;
        }

        public Criteria andExecIpIsNotNull() {
            addCriterion("exec_ip is not null");
            return (Criteria) this;
        }

        public Criteria andExecIpEqualTo(String value) {
            addCriterion("exec_ip =", value, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpNotEqualTo(String value) {
            addCriterion("exec_ip <>", value, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpGreaterThan(String value) {
            addCriterion("exec_ip >", value, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpGreaterThanOrEqualTo(String value) {
            addCriterion("exec_ip >=", value, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpLessThan(String value) {
            addCriterion("exec_ip <", value, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpLessThanOrEqualTo(String value) {
            addCriterion("exec_ip <=", value, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpLike(String value) {
            addCriterion("exec_ip like", value, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpNotLike(String value) {
            addCriterion("exec_ip not like", value, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpIn(List<String> values) {
            addCriterion("exec_ip in", values, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpNotIn(List<String> values) {
            addCriterion("exec_ip not in", values, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpBetween(String value1, String value2) {
            addCriterion("exec_ip between", value1, value2, "ExecIp");
            return (Criteria) this;
        }

        public Criteria andExecIpNotBetween(String value1, String value2) {
            addCriterion("exec_ip not between", value1, value2, "ExecIp");
            return (Criteria) this;
        }
        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "CreateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "CreateTime");
            return (Criteria) this;
        }
        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "UpdateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "UpdateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
